package SGEngine2

type IComponent interface {
	OnAttach(*Node)
	OnUpdate()
	OnDetach(*Node)
	OnEnable(*Node)
	OnDisable(*Node)
}

type BaseComponent struct {
}

func (this *BaseComponent) OnEnable(node *Node) {

}

func (this *BaseComponent) OnDisable(node *Node) {

}
